/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nach0x.theTVDBrenamer;

import java.util.regex.Pattern;

/**
 *
 * @author nacho
 */
public class SeriesPattern {
    private Pattern pattern;
    private int seriesNameGroup;
    private int seasonNbrGroup;
    private int episodeNbrGroup;

    public SeriesPattern(String regex, int seriesNameGroup, int seasonNbrGroup, int episodeNbrGroup) {
        this.pattern = Pattern.compile(regex);
        this.seriesNameGroup = seriesNameGroup;
        this.seasonNbrGroup = seasonNbrGroup;
        this.episodeNbrGroup = episodeNbrGroup;
    }

    public int getEpisodeNbrGroup() {
        return episodeNbrGroup;
    }

    public Pattern getPattern() {
        return pattern;
    }

    public int getSeasonNbrGroup() {
        return seasonNbrGroup;
    }

    public int getSeriesNameGroup() {
        return seriesNameGroup;
    }
    
}
